package com.ikas.ai.server.module.steady.controller;

import com.ikas.ai.handle.JsonResult;
import com.ikas.ai.server.module.steady.model.dto.StyStateMeteQueryDto;
import com.ikas.ai.server.module.steady.service.SteadyStateMeteService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 * 稳态测点表 前端控制器
 * </p>
 *
 * @author wuyf
 * @since 2023-12-13
 */
@RestController
@RequestMapping("/steadyStateMete")
public class SteadyStateMeteController {
    @Resource
    private SteadyStateMeteService steadyStateMeteService;

    /**
     * 列表查询
     * @param queryDto 入参对象
     * @return json
     */
    @GetMapping("/list")
    public JsonResult listStyStateMete(StyStateMeteQueryDto queryDto) {
        return JsonResult.ok(steadyStateMeteService.listStyStateMete(queryDto));
    }
}
